package com.hyzx.qbasic.admin.domain.service;

import com.github.pagehelper.PageInfo;
import com.hyzx.qbasic.admin.model.po.SysParamPO;
import com.hyzx.qbasic.admin.model.dto.KeyValuePair;
import com.hyzx.qbasic.admin.model.vo.req.admin.AddParamReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.DeleteParamReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.EditParamReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.GetParamListReq;
import com.hyzx.qbasic.admin.model.vo.res.BaseOperationRes;

import java.util.List;

/**
 * Created by 黄江华 on 2018/7/20
 */

public interface ISysParamService {
    PageInfo<SysParamPO> getPagedParamList(GetParamListReq req);

    BaseOperationRes addParam(AddParamReq req);

    BaseOperationRes deleteParam(DeleteParamReq req);

    SysParamPO getParamInfo(int pId);

    BaseOperationRes editParam(EditParamReq req);

    List<KeyValuePair> getParamListByType(String type);
}
